import { divideIntegers } from "@/utils/tool"

export function useDesign() {

    const designWidth = 1920
    const designHeight = 1080

    const vw = (width) => {
        return divideIntegers(width, designWidth) * 100;
    }

    const vh = (height) => {
        return divideIntegers(height, designHeight) * 100
    }

    return { vw, vh }
}